package designs.models.interpreter;

public class PredicateNode implements Node {
	Node verbNode,objectNode;
	@Override
	public void execute() {
		verbNode.execute();
		objectNode.execute();
	}

	@Override
	public void parse(Context context) {
		verbNode = new VerbNode();
		objectNode = new ObjectPronounOrNoundNode();
		verbNode.parse(context);
		objectNode.parse(context);
		
	}

}
